﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ZX.DBModule
{

    /// <summary>
    /// 左侧List的数据实体，对应V_SetTableList视图
    /// </summary>
    [Table("forumPost", "ID")]
    public class forumPost : BaseEntity
    {
        [lite.Column]
        public Guid ID { get; set; }
        [lite.Column]
        public Guid BoardID { get; set; }
        [lite.Column]
        public Guid ThreadID { get; set; }
        [lite.Column]
        public string Subject
        {
            get;
            set;
        }
        [lite.Column]
        public string PostContent
        {
            get;
            set;
        }
        [lite.Column]
        public Guid AddUser
        {
            get;
            set;
        }
        [lite.Column]
        public DateTime AddTime
        { get; set; }
    }

    [Table("forumBoard", "ID")]
    public class forumBoard : BaseEntity
    {
        [lite.Column]
        public Guid ID { get; set; }

        [lite.Column]
        public string BoardName
        {
            get;
            set;
        }

        [lite.Column]
        public int Sort
        {
            get;
            set;
        }

        [lite.Column]
        public int PostScore
        {
            get;
            set;
        }

        [lite.Column]
        public Guid AddUser
        {
            get;
            set;
        }
        [lite.Column]
        public DateTime AddTime
        { get; set; }
    }
}
